/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'
import AppMain from '@/layout/components/AppMain.vue'
import componentsRouter from './components'
import chartsRouter from './charts'
const systemManagement = {
  path: '/userManagement',
  component: Layout,
  redirect: '/systemManagement/userList',
  name: 'SystemManagement',
  meta: {
    title: '用户管理',
    icon: 'el-icon-s-custom'
  },
  children: [
    {
      path: '/userList',
      component: () => import('@/views/userInfo/userList'),
      name: 'Icons',
      meta: { title: '用户管理', icon: 'el-icon-s-check', noCache: true }
    },
    {
      path: '/userCollect',
      component: () => import('@/views/userInfo/userCollect'),
      name: 'Icons',
      meta: { title: '网站收藏', icon: 'star', noCache: true }
    }
  ]
}
export default systemManagement
